package com.amadeus.commons.log.entity;

import java.util.Date;

public class ExceptionInstance {

	private Long id;
	private ExceptionType exceptionType;
	private ExceptionStackTrace exceptionStackTrace;
	private String jsi;
	private Date date;

	public ExceptionInstance() {

	}

	public ExceptionInstance(ExceptionType exceptionType, ExceptionStackTrace exceptionStackTrace, String jsi, Date date) {
		this.exceptionType = exceptionType;
		this.exceptionStackTrace = exceptionStackTrace;
		this.jsi = jsi;
		this.date = date;
	}

	public ExceptionType getExceptionType() {
		return exceptionType;
	}

	public void setExceptionType(ExceptionType exceptionType) {
		this.exceptionType = exceptionType;
	}

	public ExceptionStackTrace getExceptionStackTrace() {
		return exceptionStackTrace;
	}

	public void setExceptionStackTrace(ExceptionStackTrace exceptionStackTrace) {
		this.exceptionStackTrace = exceptionStackTrace;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getJsi() {
		return jsi;
	}

	public void setJsi(String jsi) {
		this.jsi = jsi;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
